<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
<jsp:include page="HeaderServlet"></jsp:include><!-- 报错不用管 -->
<header class="header-article-list">
        <div class="article-position">新闻资讯</div>
        <ul>
            <li><a href="article_list.html">国际新闻</a></li>
        </ul>
        <div class="article-more-btn">
            <a href="article_list_more.jsp">更多 &#62; &#62;</a>
        </div>
    </header>
<section class="article-content">
        <ul>
         <c:forEach items="${News}" var="news">
            <li>
            
                <div class="article-date">
                    <strong>${news.times }</strong>
                    
                </div>
                <div class="article-info">
                    <a href="NewslistServlet?typeid=${news.id }">
                        <h3>${news.title }</h3>
                        <p>${news.content}</p>
                    </a>
                </div>
                </c:forEach>
            </li>
        </ul>

    </section>
<jsp:include page="FooterServlet"></jsp:include> 
</body>
</html>